#define _CRT_SECURE_NO_WARNINGS 1
#pragma once
#define _CRT_SECURE_NO_WARNINGS 1

#include <stdio.h>

#include <stdlib.h>

#include <time.h>

#include <windows.h>

#define ROW 9
#define STAND 9

#define ROWS ROW+2
#define STANDS STAND+2
#define MINE 10

void menu();

void game();

void set_mine(char arr[ROWS][STANDS], int row, int stand);

void Print(char arr[ROWS][STANDS], int row, int stand);

void Board(char arr[ROWS][STANDS], int rows, int stands, char c);

void Examine(char arr2[ROWS][STANDS], char arr1[ROWS][STANDS], int row, int stand);

int Count(char arr2[ROWS][STANDS], int x, int y);